package com.lansea.wms.model;

import com.lansea.wms.entity.SerializeBase;
import com.lansea.wms.util.DateUtil;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Repository;

import java.util.Date;
@Data
@Repository
@ApiModel(value = "NumberCreate", description = "单号生成")
public class NumberCreate extends SerializeBase {

    private Integer id;
    private String type;
    private String prefix;
    private String remark;

    @DateTimeFormat(pattern = "yyyyMMdd")
    private Date lastDate;
    private Integer index;

    @DateTimeFormat(pattern = DateUtil.DATE_TIME_FORMAT)
    private Date updateTime;



}
